<?php include_once 'index.php'?>
<!DOCTYPE html>
<html>
<head>
<?php include "inc/head.php" ?>
<script type="text/javascript">
$(function(){
	var n=1;
	lobj=$(".leftmenu > ul > li")
	lobj.eq(n).addClass("selected");
	lobj.not(lobj.eq(n)).hover(function(){
		$(this).addClass("selected")
	},function(){
		$(this).removeClass("selected")
	})
})
</script>
<body>
<?php include "inc/swf_job.php" ?>
<article class="body_about">
	<article class="box_about clearfix">
		<?php include "inc/left.php" ?>
		<section class="rightbox">
			<div class="righttitle clearfix">
				<?php include_once 'inc/path.php'?>
			</div>
			<div class="rightcont">
				<table class="jobinfotable" cellpadding="0" cellspacing="0">
					<tr>
						<th>职 位</th>
						<th>人 数</th>
						<th>性 别</th>
						<th>日 期</th>
						<th>工作地点</th>
					</tr>
                 <?php if(!empty($data)){?>
                    <?php foreach($data as $k=>$r){?>
					<tr>
						<td><a href="index.php?<?php echo $this->title.'/info/'.$kind_url.'/'.$r->id?>"><?php echo $r->title?></a></td>
						<td><?php echo ($r->amount == 0 ? '若干' : $r->amount)?></td>
						<td><?php echo $r->gender?></td>
						<td><?php echo date('Y-m-d',$r->timeline)?></td>
						<td><?php echo $r->place?></td>
					</tr>
                    <?php }?>
                 <?php }else{?>
                    <tr>
						<td colspan="5">暂无职位</td>
					</tr>
                 <?php }?>
				</table>
				<div class="page">
					<?php echo (!empty($data) ? $page_link : '')?>
				</div>
			</div>
		</section>
	</article>
	
	<?php include "inc/foot_about.php" ?>
</article>
</body>
</html>